According to the description, they didn't die, they somehow dispersed again after 30 minutes.
They were probably "found" by another "foraging party" of their own colony. Even if one of them regains active pheromone trail, all of them can safely return.