Remove unnecessary whitespace from expressions