In what ways did the war in Iraq significantly alter American foreign policy?