Self-regulated propagation of intense infrared pulses in elongated soft-x-ray plasma amplifiers