Videos shared widely across social media showed dozens of prisoners running in celebration after the insurgents released them, some barefoot and others wearing little clothing