XD-1547: Clean old entries in deployments/modules

The admin leader is responsible for removing containers in `/xd/deployments/modules`. However if a container shuts down without an admin leader running, the entries are not cleaned up.

This change in the admin leader will cause it to clean up old entries immediately upon its election.