Make PipelineModule.set_checkpoint_interval actually change the interval (#8178)