The boys got inside their mother’s purse while she was asleep, ingested the fentanyl and were discovered not breathing the following morning, a prosecutor said.