Remove trailing whitespace (line containing only space chars).