this is the best of a lot of -very bad- options.
by no means is it -good-... its merely the -least horrible-.
lead azide is some sensitive stuff, even when properly stored. to transport it elsewhere in its current state risks literally destroying sections of the highway, plus killing every single motorist and traveller, plus the transportation crew. you can't airlift this stuff, the vibrations from the helicopter will probably set it off. carrying it by hand might work, but the personnel requirements would be simply insane, and one mistake kills everyone.
So, to detonate it in a controlled manner in its current location, while not ideal, is the best option. you are left with toxic waste, and a lot of environmental cleanup, but there is minimal risk to human life, and minimal risk to the general public ecosystem.