pub fn delete_step( block: &mut Instructions, step_id: &str, ) -> Result<(), String>
Delete a step. Its parts must have moved elsewhere first, so no part is silently dropped from the instructions, and its child steps too.