Constrained Best Arm Identification in Grouped Bandits