Add erase_similar/2 and to_list_similar/2 to trie and btrie.