Japan is set to relax curbs on weapons exports for the first time in nearly 60 years amid tensions with China.