ISPN-4194 VersionedDistStateTransferTest.testStateTransfer random failures

https://issues.jboss.org/browse/ISPN-4194

Use waitForRehashToComplete() instead of waitForClusterToForm().