raft: remove unused prevTerm field