They have neighbors so the remove probably will not work.
Here is a full guide for how to remove a node from Z-Wave: How To: Remove Ghosts using hub tools or a UZB Stick
You should at least try the hub removal methods, if that does not work and you do not have a USB stick we might be able to get your overall mesh in a better place with those dead nodes still in place.