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
That's a good point, and a huge improvement, especially for some of @sellout's tests. In this case, there are just 26 result values, so I was actually tempted to use `containsExactly`.