Some fixes and improvement of DeadCodeRule.

Fix some false-positive (in switch, and with labels).
And improve some detection.
Note: I use the Tag location for test (not included in this pull request).