President Trump has "indefinitely suspended" his threat to levy tariffs on goods from Mexico, after claiming a deal has been reached on immigration into the US.