An admin command to remove ALL of X block in X sector would be neato.
So if you wanted to clear out all the 331s in your ship, fly it to an empty sector like 3,3,3.
Then use something akin to:
/removeallblocks_id 331 [sector]
or perhaps
/removeallblocks_id 331 [shipentity]