cleanup: fix loop detection assertion
cleanup: fix loop detection assertion

Equality comparison is undefined for ExpandedName compared with
something that is not a tuple; that's not a situation we're concerned
about here so avoid it.

pabigot/pyxb,CantemoInternal/pyxb,pabigot/pyxb,CantemoInternal/pyxb,CantemoInternal/pyxb