Scaling dynamics of a cubic interval-exchange transformation