President-elect Donald Trump's commitment to ending U.S. involvement in foreign conflicts could be tested in Syria after jihadist rebels succeeded in toppling the Assad regime.