Around 30 of the prisoners were linked to armed groups that have been behind unrest and attacks in the northern province of Cabo Delgado for the past seven years