Disable RemoveTrivialProjectRule; implement RelNode.permute() for JoinRelBase.