President Trump has indicated that he will fulfill one of his central campaign promises – to get the US out of the endless wars in the Middle East and elsewhere.