Adds a case to SimplifyCFG which checks for switch case basic blocks
that are identical and prunes them.
This breaks several tests which I am not sure how to fix.
Broken tests:
LLVM :: CodeGen/AArch64/arm64-jumptable.ll LLVM :: CodeGen/ARM/jump-table-islands-split.ll LLVM :: Transforms/SimplifyCFG/CoveredLookupTable.ll LLVM :: Transforms/SimplifyCFG/X86/switch-table-bug.ll LLVM :: Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
X86/switch_to_lookup_table.ll is trivial to fix.
Motivated by Rust issue #26496.
Fixes LLVM bug 24220.
CC'ing Phillip because he filed the Bugzilla bug.
Adding Renato and Tim as this breaks ARM and AArch64 tests.
Prefix the sentence with a \brief like in the other methods.