Minor refactoring.
Merge branch 'master' into gc-proto-v1
More minor refactoring for join code.
Merge branch 'master' into gc-proto-v1
Support positional syntax for join preds.

This is necessary when the RSE rewrite is applied to non-join negations.