TOKYO - The Japanese government on Friday approved a policy to replace its controversial trainee program for foreigners, featuring improved rights protection with increased flexibility for changing jobs and tougher oversight.