Cleans up state management for remote deletes from local state.
Cleans up state management for remote deletes from local state.

Fixes #2125.

scalp42/consul,Thib17/consul,rhyas/consul,sweeneyb/consul,tshak/consul,42wim/consul,Thib17/consul,pmalmgren/consul,hashicorp/consul,vamage/consul,calgaryscientific/consul,andygoalkeeper/consul,sean-/consul,sequenceiq/consul,sweeneyb/consul,Thib17/consul,kingland/consul,sean-/consul,andygoalkeeper/consul,tugbabodrumlu/consul,calgaryscientific/consul,youhong316/consul,zeroae/consul,leowmjw/consul,rhyas/consul,Thib17/consul,hashicorp/consul,dankraw/consul,kylemcc/consul,mckennajones/consul,sunadm/consul,i0rek/consul,i0rek/consul,mckennajones/consul,dankraw/consul,i0rek/consul,zeroae/consul,vamage/consul,scalp42/consul,tugbabodrumlu/consul,dankraw/consul,scalp42/consul,i0rek/consul,vamage/consul,42wim/consul,mckennajones/consul,hashicorp/consul,leowmjw/consul,mckennajones/consul,kylemcc/consul,youhong316/consul,sean-/consul,youhong316/consul,sequenceiq/consul,dankraw/consul,vamage/consul,andygoalkeeper/consul,tshak/consul,tshak/consul,vamage/consul,tugbabodrumlu/consul,leowmjw/consul,pmalmgren/consul,zeroae/consul,scalp42/consul,youhong316/consul,rhyas/consul,42wim/consul,tshak/consul,sean-/consul,kylemcc/consul,kylemcc/consul,zeroae/consul,zeroae/consul,sunadm/consul,42wim/consul,andygoalkeeper/consul,tshak/consul,kingland/consul,tugbabodrumlu/consul,42wim/consul,pmalmgren/consul,sunadm/consul,kingland/consul,kingland/consul,sunadm/consul,Thib17/consul,sequenceiq/consul,i0rek/consul,sweeneyb/consul,kylemcc/consul,youhong316/consul,sequenceiq/consul,pmalmgren/consul,scalp42/consul,sunadm/consul,rhyas/consul,andygoalkeeper/consul,sweeneyb/consul,mckennajones/consul,leowmjw/consul,calgaryscientific/consul,dankraw/consul,pmalmgren/consul,sweeneyb/consul,calgaryscientific/consul,rhyas/consul,calgaryscientific/consul,leowmjw/consul,sequenceiq/consul,hashicorp/consul,sean-/consul,tugbabodrumlu/consul,kingland/consul