Effect of shear strength on the development of instability during the deceleration of imploding casings