Moves by major U.S. fast-food chains to temporarily pull fresh onions off their menus on Thursday, after the vegetable was named as the likely source of an E. coli outbreak at McDonald’s, laid bare the recurring nightmare for restaurants: Produce …