raft: not compact log if the compact index < first index of the log

It should ignore the compact operation instead of panic because the case that
the log is restored from snapshot before executing compact is reasonable.

fixes #1774 
add a comment for this. actually we should return an error. but i am not worrying about this since compact will go away soon.