Refactor hhbc_from_nast into statement and expression emitters