Despite incredibly threatening tweets, Trump’s caution over Syria may have averted World War III