pipe_remove_step function

Remove certain step from the pipeline.