Labour’s deputy leader’s comments come after Boris Johnson’s motion for an early election was twice defeated in the Commons.