US to renew military ties with a rising China