ISPN-4194 VersionedDistStateTransferTest.testStateTransfer random failures

Use waitForRehashToComplete() instead of waitForClusterToForm().