Yeh, of course it would be devastating for the mum! But I guess way more people would be devastated if the mum died (her husband, mum, dad, brothers, sisters, aunts and uncles, grandparents, cousins, friends, neighbours, work mates etc), than if the unborn died. And that is the reason why abortions are allowed if child borth is likely to kill the mother, because her life is already established and the babies isn't.
Not that the unborn baby isn't important! Of course it is. And we hope that Allah gives it jannah because it died to young.