UK Prime Minister Theresa May tried to reassure people in Northern Irland that she can secure a Brexit deal that will avoid a hard border with Ireland.