May suffers embarrassing defeat on Brexit strategy