Open for trade, Iran may test two rivalries—its own with Saudi Arabia, another between Pakistan and India.