Iran’s president has released the names of 2,986 people who died during protests, marking the latest official tally and signaling a formal record of fatalities.