checkForAliasCircle(String name,
String alias)
Check whether the given name points back to given alias as an alias
in the other direction, catching a circular reference upfront and
throwing a corresponding IllegalStateException.