raft: move good case of truncateAndAppend to the first place
raft: clearify that the firstIndex might not be available.
Merge pull request #1831 from xiang90/fix_unstable

raft: fix unstable