Former Sinn Féin leader spent two days in the witness box of a London court rejecting claims he was in the IRA