deleteAssignmentMarkers(const Instruction *Inst) does exactly as you'd expect - it deletes any dbg.assign intrinsics linked to Inst.
I'll fold this into the previous patch (D132224) when landing them, but I wanted to keep the review separate as that one has already been accepted.