Northern Ireland on the way out of a long deadlock