I am well aware of the Church’s teaching regarding ectopic pregnancy.
I would like to “put something out there”, and I’m sure it’s been considered by Catholic moral theologians before, but here goes:
The fetus has attached itself to the fallopian tube instead of the uterine wall. It is entirely possible to slice the tube open, remove the fetus, and suture the tube back up. The death of the fetus is not willed. No direct attack is made on the life of the fetus, it is just removed and laid aside. Tragically, it will die within seconds. It will die because it is not yet viable, not because it is being killed — technically speaking, you could think of it as a “live birth”, even though death is almost instantaneous. It cannot be re-implanted onto the uterine wall to be allowed to develop normally. If we could do that, we would, but we can’t. If we could place the fetus into an artificial womb and allow it to develop normally, we would do that. But we can’t, because that technology doesn’t exist yet (and may never).
Would it be possible, then, to say that this is not a direct abortion, that you are simply removing the fetus from a place where it should not be, and because it is impossible to “move” the fetus to a place where it should be, or a place where it can develop normally (such as the non-existent “artificial womb”), the fetus will die. The fetus is not yet viable — we wish it were, but it’s not. If the fetus were viable, the removal would be morally unproblematical, but that’s not the case here. Therefore, sadly, the fetus will die.
Needless to say, the fetus would be baptized immediately, and its little body treated with reverence and laid to rest.
I’m making no assertions, I’m just offering another way to look at the same scenario. I would welcome especially the input of priests on CAF and others trained in moral theology.