The Syrian army’s deployment near the Turkish border came hours after Syrian Kurdish forces previously allied with the U.S. said they had reached a deal with President Bashar Assad’s government to help fend off Turkey’s invasion, now in its sixth day.