gpu_group_references: extract out prefix_with_equalities