LUCENE-2878: Fix compilation in TestGrouping; don't update extremes in PositionQueue with exhausted iterator