[GHC] #10125: Inproper evaluation of type families