Under the terms being discussed, Western Digital would spin off its flash business and merge it with Kioxia, creating a publicly traded company in the U.S.