TOKYO (Reuters) - Toshiba Corp and Western Digital Corp are close to settling a legal dispute that has threatened to become a major stumbling block in the embattled Japanese conglomerate's plans to sell its $18 billion semiconductor unit, media reported.