Remove redundant empty spaces.