[FLINK-1110] Fix IndexOutOfBoundsException in ListKeyGroupedIterator

Occured when calling nextKey() and iterator not consumed with *last* key group.

This fixes the failing CoGroup tests.