[GHC] #12670: Representation polymorphism validity check is too strict