Labour leader Ed Miliband says the threat of a Commons vote to condemn Stephen Hester's bonus was the driving force behind his decision to waive it.