Handle NOT IN (... JOIN ... IN ...) bug

There are two phases to this solution:

1. Move conditions from the where conditions down into the join conditions, putting them as far down as they can go. -- this makes InConditionReverser no longer pull the condition into the ANTI join
2. Have DPhyp and later rules be graceful when conditions are in the join conditions instead of the where conditions.

This is the more general solution compared to #1359
By expense, do you mean it would make some queries slower?