Sometimes you’re typing up your story, and your brain can’t keep up with your fingers. *crickets*
Sometimes, your fingers can’t keep up with your brain…
And then you wonder, what kind of soldier do they have in this army?
And then you have to decide if you can turn this weirdness into a story plot point, or, sigh, just delete the duplicated phrase.