Check more live Path nodes in dead-code pass
auto merge of #10870 : ktt3ja/rust/issue-10865, r=alexcrichton

Fix #10865.