Originally reported in #521. This issue splits out the work for `zx.toType` to handle arbitrarily nested unions in `z.templateLiteral`.