fix grouping with expression in key(s)

- remove spurious rewriting of the source in groupBy
- simplify expr3 with at least one literal argument
- pending test for a trickier case
Since you're using `ORDER BY`, you should probably use the "starting with" predicate.