Video on social media shows hundreds of inmates leaving the Afghan jail after heavy militant attacks.