I’d say B was closest to my position, although I also make exception for conditions that make the baby non-viable outside the womb such as Anencephaly.
Some hospitals deal with this in a humane and compassionate manner by offering neonatal hospice: a unit where the very frail baby can be given care and kept comfortable, as any baby would, until his natural demise. This is comforting for both the baby and the parents, brothers, sisters, grandparents, who have the precious chance to show their love and respect before the infant passes on.
Some babies die by chance. No babies should die by choice.