Requires https://reviews.llvm.org/D43962, see the review for details.
This commit also removes
test/CodeGen/AArch64/GlobalISel/select-with-no-legality-check.mir
added by https://reviews.llvm.org/rL326396 as containing a strict
subset of the test cases being added by this patch.