Move the bang algorithm to GroupIterator - the sole user.

Testing Done:
PANTS_DEV=1 ./pants goal test tests::

Bugs closed: 255

Reviewed at https://rbcommons.com/s/twitter/r/580/