Tehran seems on track to restore relations with more countries after a groundbreaking agreement with Saudi Arabia.