Remove redundant whitespace characters.