The 8.7-magnitude earthquake off Russia’s coast led to warnings and advisories for parts of Japan, Hawaii and Alaska.