TOKYO (Reuters) - Toshiba Corp and business partner Western Digital Corp have agreed in principle to settle a dispute over the embattled Japanese conglomerate's plans to sell its $18 billion chip unit, sources with direct knowledge of the talks said.