[Git][ghc/ghc][wip/fendor/ghc-sample-profiler] 48 commits: Improve how we detect user type errors in types