Had the doctors followed their responsibilities to preserve life, they would have carried out the abortion on the miscarried fetus. Ireland has case law that permits abortions in cases where the mother's life is at risk. That's not ambiguous; Ireland follows a version of Common Law and case law trumps and interprets written legislation. The doctors could not have been legally convicted of a crime as long as it was established that the mother's life was at risk (which as I pointed out before, could have been established but is definitely a possible sticky point).
In this case, it appears the doctors/hospital decided to go with their interpretation of theocratic responsibilities, rather than their legal and medical obligations.
Regardless, I sincerely hope this changes things for the women of Ireland. It is frankly ridiculous how much sway the Catholic Church holds in that country, and makes me very glad my grandfather moved our family here.