US seeks Iran war exit as oil shock threatens global economy