KABUL, Afghanistan — For years, American officials have struggled to curb Afghanistan’s opium industry, rewriting strategy every few seasons and pouring in more than $6 billion over the past decade to combat the poppies that help finance the insurgency and fuel corruption.