Fix indent/outdent issue:

- Outdent should always follow a newline to separate statements.
- Update y.output