Judge blasts DCF over boy's death