Revert the push down limit feature with aggregate on non-partition colum...

...n and order by
GitHub won't let me comment the exact line (its 1936 in your revision), but the call to m_parsedSelect.hasPartitionedColumnInGroupBy() below is loop-invariant and could be moved outside both of its enclosing loops.  Maybe you can fix this while you're here.