Fix cartesian products in OptimizeBushyJoinRule.