Death of starving toddler could have been avoided