Theresa May says Britain and EU have 'secured legal changes' on Brexit deal