Remove unnecessary end-of-line whitespace.