Fix Match result type variable namespace (r not in scope)
matchShape's result type variable was generated from a value-namespace name (makeRandomVariable), so implicit quantification in the signature did not bind it and GHC reported 'not in scope'. Rebuild it as a type-variable-namespace name. (Latent bug surfaced by the new Match activation test.) Co-Authored-By: Claude Opus 4.8 <[email protected]>