WFLY-2674 Fix criteria for triggering @TopologyChanged event logic in RegistryFactoryService

https://issues.jboss.org/browse/WFLY-2674

This should address a number of transient failures in the clustering testsuite.