The Kurdish-led Syrian Democratic Forces are set to merge into the Syrian army after suffering major setbacks.