The closure was announced after the government summoned Iran’s ambassador to protest violent repression and urge respect for citizens’ rights.