Applying Iraq's broader lessons in Afghanistan