Fix parsing and formatting of statements containing EXCEPT keyword.