Remove redundant whitespace characters