You can not remove all slides from your deck, there is a constraint to this. You need to have at least one slide in a deck. So keep deleting the slides till you reach a condition when there remains only one slide in the deck, delete button will be disabled.
This way you can remove slides from you deck with constraint of having at least one slide in it.