Sounds like most of the hostages died when they panicked and tried to fight back. Odds are it wasn't friendly fire that did them in.
When I first heard that the Chechens had a large number of terrorists and a lot of explosives, I couldn't think of any way the Russians could rescue more than a handful.
The fact that most made it says a lot for them.