SimpleGroupBy: remove scheme calculation until it's needed

Do not compute it if we can short-circuit it
rules: add DedupGroupBy
myrialang: use DedupGroupBy