Sema: fix compile error for switching on undefined union

Before this fix, passing an undefined union value to `Sema.switchCond`
returned an undefined value of the union type, not the tag type, since
`Value.unionTag` forwards undefined values unchanged.
This leads us into the `.Union` branch in `Sema.zirSwitchBlock` which is
unreachable, now we take the `.Enum` branch instead.
00ff123b1eJohn Schmidt committed on 2/27/2024, 12:51:37 AM· committed by Andrew Kelleyparent8bd9475
2 files changedLine totals unavailable