Text this: Faster backtracking algorithms for the generation of symmetry-invariant permutations