merge all fixed-bucket-aggregations from possible subqueries in the query tree (same name aggregations are overridden)