President Obama’s trade agenda advances to the Senate after the House, in a turnabout, approved it.