Pfizer will offer discounted prices on some of its drugs and avoid U.S. tariffs, in a deal with President Trump.