[GHC] #13328: Foldable, Functor, and Traversable deriving handle phantom types badly