[GHC] #10122: PolyKinds: inferred type not as polymorphic as possible