Iraq, Saudi Arabia agree to resolve differences