Role of war in Japanese unification