China’s yuan up on suspected intervention, set for August loss