Japan says it will send Patriot air defence missiles to the US after changing its arms export rules, in a shift away from its pacifist policies.