Remove Empty Insert Slots
Removes blank/empty insert slots from a channel. Sometimes we create gaps by removing an insert, or by skipping an insert slot before opening. This command squeezes all of the inserts together leaving no empty slots in between.
Work with channel strip settings in Logic Pro — Apple Support
In Logic Pro, click the Setting button at the top of the channel strip, then choose Remove Empty Insert Slots from the pop-up menu.