Remove extra whitespace at the end of some lines.