[GHC] #13386: Poor compiler performance with type families