Suspect in baby killing told others about the crime, prosecutors say