Frictional shake-down in a closed crack subjected to cyclic shear