Investors cheered an impending end to a format war for next-generation DVDs on Monday, pushing up shares of both Toshiba, on the verge of abandoning its HD DVD discs, and Sony,…