Expected easing of China-US tension because of trade deal provides good timing for legislation to be passed by the end of the week, sources say.