Replace assertions with exception throws

- These are problem in logic of translated program, not intrinsic
  errors in dwgrep itself.
Accomodate stack effects of ALT branches

- Some branches may have grater stack space demands even though their
  overall effect is the same.
Update a comment