Long wary of such a move, Tokyo’s acquiescence — and its own planned missile deployments — highlights a gradual but monumental shift in defense policy.