The Republican leader of the U.S. House Armed Services Committee said President Trump should not walk away from the Iran nuclear deal.