Merge "libsnapshot: Restrict when snapshots can be deleted."