TEHRAN — Iran’s release of 10 United States Navy sailors on Wednesday, less than 24 hours after they were detained on the Persian Gulf, is being hailed in both countries as a sign that their relations have evolved since the signing of the nuclear accord last summer.