TOKYO (Reuters) - Japan's Toshiba Corp said on Wednesday it has agreed to sell its prized semiconductor business to a group led by U.S. private equity firm Bain Capital LP, a key step in keeping the struggling Japanese conglomerate listed on the Tokyo exchange.