Ropes & Gray and Morrison & Foerster are acting on either side of Japanese technology giant Toshiba’s $18bn (£13bn) sale of its chip business to an investor group led by Bain Capital.