May wins support from divided UK government on Brexit plan