Shave ~90K off regex in native aot (#80884)
* Shave ~100K off regex in native aot
- ifdef out some code only used in debug but that included a static which was rooting some of the methods
- Avoid using a ValueTuple`7 as a dictionary key and instead use a custom struct
- Remove a Sort call that was leftover from debugging but isn't necessary for correctness or performance
- Avoid using a `HashSet<UnicodeCategory>` when a `bool[30]` would suffice
- Avoid a generic instantation for a `Dictionary<enum,object,object>` by changing it to `Dictionary<int,object,object>`, which we already use in the same type
* Address PR feedback