Implement BitXor for EnumSet.

I implemented BitXor, and also added tests for BitAnd and BitXor.

cc #18424