Both countries released a joint statement that said Mexico has agreed to a number of safeguards before the vote