[GHC] #14942: QuantifiedConstraints: GHC can't infer