Theresa May gets Brexit assurances from the EU