The examining physician said the pregnancy poses serious medical risks due to the girl’s age and physical condition.