[GHC] #10839: Consistent pretty-printing of type families