Fix several problems in parsing Piq variants

- parsing nested "non-terminal" variants (i.e. those without name label) was not
  progressing to the next available option
- unsigned integer option values were not handled correctly in some cases