NEW YORK/TOKYO (Reuters) - Yahoo Inc is in advanced talks to leave its Japanese joint venture, seeking to resolve its dysfunctional Asian partnerships and free up as much as $8 billion to fund its battle against Google and Facebook.