Cleanup whitespace at line ends