In symbolic end to war, last US general steps down from Afghan command