Revert "Revert "Generalize HiDimRes::getSubResourcesAssayMultiMap""

This reverts commit b251acb10ece7ac45a8eae2182edb015b328d410.