You can use the material "AIR" in an item slot to make the item slot empty. Simply replace the material type from what it used to be, into AIR and it will be an empty slot. Using commands in the empty slot will still work, if you don't want it to execute commands just remove the commands section (if it is there already).