Text this: Iterative Learning Control for Systems with Iteration-Varying Trial Lengths