What was deleted was the compiled file sent to Tesla, not all the bits of data that it came from. Nothing malicious in that, just code not leaving trash around.
The file was reportedly named "snapshot_collision_airbag-deployment.tar", which indicates that the developers are able to know that this particular event is a terminal one. Is it really necessary to be mindful of a few GB of storage space on a device that will likely never again to record data for its host vehicle?