The head of the US Central Intelligence Agency has warned the demise of the Syrian regime could open the doors to ISIL.