Japanese defense minister quits ahead of reshuffle