PALMYRA, Pa. — Hundreds of foreign students, waving their fists and shouting defiantly in many languages, walked off their jobs on Wednesday at a plant here that packs Hershey’s chocolates, saying a summer program that was supposed to be a cultural exchange had instead turned them into underpaid labor.