Yuan slide weighs on ringgit