This clears the way for Japan to sell weapons to more than a dozen countries.