The U.K.'s departure does not just threaten Ireland's tens of billions of dollars in goods, services and FDI exchanged with its largest trading partner.