The world’s second-largest automaker plans to halve its lineup of cars as part of its second major overhaul in two years.