Pattern-match checker uses unionLists too much
When compiling the repro case from #26425 (see below), I get lots of this kind of debug messages
```
WARNING:
Over-long elem in unionLists
Call stack:
CallStack (from HasCallStack):
warnPprTrace, called at compiler/GHC/Data/List/SetOps.hs:226:19 in ghc-9.15-fede:GHC.Data.List.SetOps
isIn, called at compiler/GHC/Data/List/SetOps.hs:79:5 in ghc-9.15-fede:GHC.Data.List.SetOps
unionLists, called at compiler/GHC/HsToCore/Pmc/Solver/Types.hs:471:15 in ghc-9.15-fede:GHC.HsToCore.Pmc.Solver.Types
```
The messages come from this code in GHC.HsToCore.Pmc.Solver.Types
```
extendPmAltConSet (PACS cls lits) (PmAltLit lit)
= PACS cls (unionLists lits [lit])
```
Happily `PACS` only used very locally
```
data PmAltConSet = PACS !(UniqDSet ConLike) ![PmLit]
```
We should change that list to a set of some kind.
## Repro case
Run this Python script with argument N to generate a size-N example.
```
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
print('''
{-# LANGUAGE OverloadedStrings #-}
module Reproducer (strToInt) where
import qualified Data.Text as T
strToInt :: T.Text -> Maybe Int
strToInt txt = case txt of''')
n = int(sys.argv[1])
for i in range(n):
print(f''' "{i}" -> Just {i}''')
print(''' _ -> Nothing''')
```
issue