Brexit and the surprising gains for Sinn Féin in Ireland’s general election have combined to reopen the debate about economic and political partition