Leo Varadkar and Theresa May held talks attended by British and Irish ministers