After threatening Mexico with tariffs, Trump announces Mexican president agreed to stop the flow of illegal immigrants