UK government wins key Brexit amendment vote