Ex-education secretary Ed Balls says he acted on strong advice in sacking children's boss Sharon Shoesmith after the Baby P tragedy.