Now if you trying to remove variable declaration which is in use, you will see a message that this variable is in use and it is not possible to remove a declaration.
It will be good to provide special button to remove all usages in all nodes because for large processes it can be a not a trivial task to remove it manually.
(except scripts for now, it can be a separate issue).