Remove excess trailing whitespace.