wal: remove index arg of Cut func

#1033