[GHC] #9960: Performance problem with TrieMap