REF: simplify advance/move/set_length in libreduction (#34982)
REF: simplify advance/move/set_length in libreduction (#34982)


gfyoung/pandas,gfyoung/pandas,jorisvandenbossche/pandas,rs2/pandas,jorisvandenbossche/pandas,rs2/pandas,jreback/pandas,datapythonista/pandas,jorisvandenbossche/pandas,rs2/pandas,datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,jorisvandenbossche/pandas,jreback/pandas,datapythonista/pandas,jreback/pandas,dsm054/pandas,dsm054/pandas,dsm054/pandas,gfyoung/pandas,jreback/pandas,datapythonista/pandas,gfyoung/pandas,pandas-dev/pandas,gfyoung/pandas,rs2/pandas,jreback/pandas,dsm054/pandas,dsm054/pandas,pandas-dev/pandas