Symmetry analysis of the behavior of the family R6M23 compounds upon hydrogenation