Internet giant Yahoo is closing its China office as part of a worldwide consolidation aimed at cutting costs