NEW YORK/TOKYO (Reuters) - Yahoo Inc is in advanced talks to leave its Japanese joint venture in an effort to sort out its dysfunctional Asian partnerships and free up as much as $8 billion to fight Google and Facebook.