HHH-6813 Corrected EntityType#getRHSUniqueKeyPropertyName() and added
regression test.