Build alternation offset arrays statically.

Before, we built them each time we wanted to evaluate an alternation.
This cuts nearly 800,000 object allocations out during the compilation
of CORE.setting, which is a measurable improvement.