'US repeating mistakes of Afghanistan in Syria’