Japan’s Nikkei snaps three-day losing streak as investors shake off China worries