Asymptotically periodic piecewise contractions of the interval