Check holonomy: product of all transforms must equal 1 (identity)
Each transform is a packed i64 representing a group element.
For simplicity, we check if the cumulative XOR-based hash equals 0 or
if the product of signed values equals 1.
Linear interpolation along a polyline defined by control points.
pts is a flat array of 2*n doubles (x0,y0, x1,y1, …).
t is in [0, 1], mapping to the full arc length.
For simplicity, this does uniform-parameter linear interpolation between segments.