[GHC] #11708: Typechecker hangs when checking type families with -ddump-tc-trace turned on