Russia sentenced Aleksei A. Navalny to nine years in prison and added to its draconian censorship law.