[GHC] #9765: Strange behavior of GC under ghci