GalagoQueryLib: drop subqueries with 0 weight