The council at the heart of the Baby Peter scandal should have known his mother had a new boyfriend more than four months before the toddler's death, according to a BBC investigation.