A large typhoon that had swept through the Japanese archipelago weakened in intensity on Tuesday as it reached the Pacific off Japan’s northeastern coast, leaving at least two dead and 90 others injured.