Erosion of a stable density gradient by sedimentation-driven convection