The Behavior of Halogens During Subduction-Zone Processes