Lawmakers came close to endorsing a ?softer? British withdrawal from the E.U. that would have eased barriers to trade.