fix a thinko in estimating agg output size; the grouping
expressions and grouping set lists passed to estimate_num_groups
have to match, and the set list has to be indices not refs.