Fix for bug 3597414.
When both the sides of relations are distributed on one node each, they should
share the same node for the JOIN to be pushable.