raft: include commitIndex in heartbeat

Fix #1732 

@yichengq @bdarnell