refactor($q): remove redundant callbacks from when method

The `when` method had some extra callbacks parameters which are not documented and not used inside angular