The Bauschinger effect and discontinuous yielding