validateIndentation: Allow the "if" test to be nested.

Closes gh-670