A whistleblower warned ministers of failings in Haringey Council's child protection procedures months before a toddler died of abuse.