When registering a RelNode, be tolerant if it is equivalent to a RelNode with different traits
Fix code style