Some of the migrants were armed with knives and shanks