TOKYO (Reuters) - Japan's Toshiba Corp said on Thursday it had signed an $18 billion deal to sell its chip unit to a consortium led by Bain Capital LP, overcoming a key - albeit not its last - hurdle as it scrambles for funds to stave off a potential delisting.