Saudi Arabia and Iran agreed to restore trade and diplomatic ties in a deal brokered by China