Yes they should. IMHO it would only be sex discrimination if they would not fire a male teacher whose wife had used IVF. Since there is no way of knowing if that ever came up the decision seems to be based on a negative (what was not done)since the jury cannot show only a woman would be penalized for using IVF.
Oh and note to copy editor, the woman became an ex communicated Catholic when she used IVF unless she repented and received absolution.
Would IVF result in automatic excommunication? I know that is the ecclesiastical penalty for abortion, AND I realize that embryos are “often” killed from the IVF procedure, but wouldn’t it depend on whether embryos were killed and she knew it?