A Derry man on trial for rioting and throwing petrol bombs on the night of the murder of author Lyra McKee has died, it was confirmed in court today.