Democratic revolt derails Obama’s trade hopes