Computing Approximate Blocking Probabilities for a Class of All-Optical Networks