US President Donald Trump said the war was "effectively over" after meeting Qatar's prime minister in Washington, DC.