All abortion, except for the mother's life, should be illegal.
You've already placed the mother over the foetus in this scenario. So why only for the 'mothers life'; why not her mental wellbeing?
Because in the first scenario, if the mother dies, so does the fetus.
Not if the foetus is past the point of viability. In that case, if the mother requires treatment that will kill the viable foetus but if she doesn't get it she will die and the foetus can be delivered alive, if you've already made the moral decision that the mothers life is 'greater' than that of the foetus, then her wellbeing, psychological as well as physical, must matter.