if the mother dies, the baby would die too.
The fact is there are some instances, like ectopic pregnancies, where abortion is nessecary-—the baby will not survive and the mother will potentially be killed.
sometimes medical opinion is wrong-—in your case, for example. But will you force people to die to deliver babies? That is good if the mother will sacrifice herself, but I can’t see the law demanding it. And I can’t say I would do that if I was the father or a loved one of the woman in danger——I have never been in that situtation and I hope to never be.
According to the Catholic Church, abortion is always murder. Furthermore, in the case of an ectopic pregnancy, the removal of the fallopian tube is not abortion.