Stylistic changes to ninja_syntax.py

I was browsing the Ninja source code, and saw some Python indentation consistencies. Also, PyLint informed me that the `re` module is not actually used in this file, so no need to import it.