After a debate marked by disagreement among Democrats, both houses approve free-trade deals with Panama, Colombia and South Korea, a key victory for President Obama.