Propagation of a High-Harmonic Pulse Through a Population-Inverted Medium