TOKYO — Toshiba and a consortium led by Bain Capital Private Equity signed a deal Thursday for the sale of the Japanese electronics company’s computer memory...