TOKYO — Shouting antinuclear slogans and beating drums, tens of thousands of demonstrators gathered in front of the prime minister’s residence on Friday, in the largest display yet of public anger at the government’s decision to restart a nuclear power plant.