Remove duplicate semicolons.