A man and a woman have been sentenced to life imprisonment by an Irish court for the murder of a Co Tyrone man in Co Donegal in 2023.