Japan replaced the head of its navy and punished more than 200 defense officials after a string of scandals that include mishandling of classified information and overclaiming on pay. The array of misconduct is some of most widespread revealed in the Japanese defense establishment in recent years and casts a shadow over Tokyo’s efforts to bolster its military to deal with rising challenges from China and North Korea.