[GHC] #8002: Type family causing GHC to hang on recompilation