Architectural Techniques for Accelerating Subword Permutations with Repetitions