Both men were named by activists and exiles as taking part in the execution of thousands of political prisoners in 1988 on the orders of Iran’s Supreme Leader.