UK parliament deals second blow to EU exit plans