Check even more live Path nodes in dead-code pass

Fix #11006.