Japan stocks head for longest rally since 2009 on US-China deal