Refactor parse table construction

- rename StateMachine -> ParseTable, since it's now less graph-like