[TableGen] Remove trailing whitespace, add space between 'if' and paren, other format...