Plea deal in 2-year-old boy's death