Remove all but first, not all but last, env vars.