Modify xid= so that values belonging to the same XID type can be
considered equal even if one has an altenum type