why did meiji leaders expand japan’s military and heavily invest in industrialization?