The liberties taken in Phyllida Lloyd’s production, set in a women s prison, add to the play s effect in visceral ways.