Fix issue with out-of-order iteration of virtual methods
Remove the unused classes field from writer.DexFile
Add support for empty packed switch data instructions
Add support for empty sparse switch data instructions
Make sure to truncate the output file before writing the new dex file