Anagram presolves