Typed AST: Migrate STATEMENT rule.