Fix create/delete race in LeaderLatch

There is a race between creating a node and deleting it that can result
in an orphaned latch.