Northern Ireland’s McGuinness quits in move likely to trigger election