Ice-cream maker Blue Bell Creameries LP’s decision to pull its products from stores after a listeria outbreak marks one of the most sweeping U.S. food recalls by a single brand and highlights the difficulty of controlling the potentially deadly bacteria.