Japan moves to shed pacifist ways with major defence build-up