If there are no objects on those layers, you can’t delete them because the block definitions still refer to them. You could use ExplodeBlock, then Purge with the BlockDefinitions and Layers options and put that in a macro that you assign to a button.
In Rhino, Explode will remove the top level block. ExplodeBlock will remove all levels.
-wim