raft: move unstable related function to log_unstable.go

it doesn't fit the behavior if it does reset IMO