Legislation that would help President Obama seal a Pacific Rim trade pact cleared a hurdle in the U.S. Senate.