House Democrats rebuff Obama on trade, delivering major defeat