The Mexican government agreed to stronger immigration enforcement in exchange for the U.S. not imposing tariffs on Mexican exports.