raft: panic on bad slice

s/u.offset+uint64(len(u.entries))/upper