Donald Trump has spoken out for the first time on the three US servicemembers who were killed in the Middle East.