Unloading near a shear band: a free boundary problem for the wave equation