Removes the last word, i.e. the last non-space token after the last space.