regex: fix HIR analysis bug
regex: fix HIR analysis bug

An alternate can be empty at this point, so we must handle it. We didn't
before because the regex engine actually disallows empty alternates,
however, this code runs before the regex compiler rejects the regex.

BurntSushi/ripgrep,BurntSushi/ripgrep,BurntSushi/ripgrep,BurntSushi/ripgrep