Human Rights Watch says 255 Sunni prisoners were killed as Shia militia and Iraqi troops fled Islamic State group.