Representation Invariance and Allocation: When Subgroup Balance Matters