What next as battle against ISIL nears an end?