Text this: A group theoretic approach to metaheuristic local search for partitioning problems