I am not sure what the vacuum would do. The energy from the battery failure comes from the battery itself. It does not need oxygen to burn. I would surmise issues in shipping come from damages which cause a short or rupture to the pack.
This was a container which addresses this :
Ventura Aerospace Systems