test: Prefer CHECK-LABEL to CHECK in branchweight tests
test: Make a branchweight test more specific
Transforms: Don't create bad weights when eliminating dead cases

If we happen to eliminate every case in a switch that has branch
weights, we currently try to create metadata for the one remaining
branch, triggering an assert. Instead, we need to check that the
metadata we're trying to create is sensible.