A shaped charge might do the trick.
Or make the situation a whole lot worse. If the casing is snapped off below the sediment but not crimped shut... well, that'd be bad.
Good figure. It might be fun, and instructive, to make one to scale.
