[Git][ghc/ghc][wip/T26868] Refactor free-variable finding