pipe_pop_step function

Pop steps from the pipeline