Avoid FPEs caused by beam axis parallel seeds.
When computing eta for a theta of approximately pi, the resulting tan (theta/2) may become negative if theta is slightly above pi, which leads to an FPE when computing the log.
Addresses ATLASRECTS-7400