Myria unique aggs

Some simplification of aggregates to save state by reducing redundant computation. Needs more work, in particular w.r.t. decomposable aggs.