The 33-year-old tested positive for cocaine during her pregnancy and had regular visits from health care and social workers, who didn’t raise any concerns.