msc: Expire commands when delete a package

Refs #2322

When a package is deleted, all commands related to this package are now
expired immediately