Spatiotemporal evolution and multiple self-focusing of ultrashort pulses in a resonant two-level medium