a state of reduced activity that precedes pupation in the larvae of certain insects