Northern Ireland's first minister has threatened to resign over alleged Irish Republican Army (IRA) activity, in a political crisis that could roll back progress made since the end of the conflict.