DRILL-8190: Fix mongo project pushdown for queries with joins (#2652)