If you haven't noticed by now, if you discard 1 dynamite (or more) and then equip 1 and light it, all of them will go off.