DistributedGroupBy: reuse partial aggregates when possible