wal: remove index arg of Cut func

#1033
i think this should always be the index of the last entry that has been written to wal.