Breakup of an ultrashort pulse in the course of self-switching of light in tunnel-coupled waveguides