[GHC] #12239: Dependent type family does not reduce