[Git][ghc/ghc][wip/T24464] 16 commits: Refactor fundep solving