etcdserver: do not applySnapshot twice