President Donald Trump clashed with Republican senators over the war with Iran and other issues during a closed-door meeting on Capitol Hill.