Remove a dangling variable assignment.