small cleanup to the writer
small cleanup to the writer

The contract around indentation should be tighter now and easier to follow. This fixes cases that caused indent to be skipped.

R=sigmund@google.com

Review URL: https://chromereviews.googleplex.com/140867013

ronlobo/dev_compiler,ochafik/dev_compiler,ronlobo/dev_compiler,ochafik/dev_compiler,ochafik/dev_compiler,ronlobo/dev_compiler,ochafik/dev_compiler,ronlobo/dev_compiler