A war meant to isolate Iran instead deepened Gulf pragmatism and strengthened support for diplomacy.