Safe, yes. Rare -- and legislated to make it so. Legal? Only where one evil is overwhelmed by another.
P.s. I know this post will provoke. Be civil.
P.p.s. On the "civil" note, note further that I'm married to an ardent pro-choicer. Not a good dinner table discussion, I've discovered.