[GHC] #10290: compiling huge HashSet hogs memory