[Git][ghc/ghc][wip/substitution-via-mapper] 2 commits: Refactor type and coercion substitution