Move SetTheory from utils/TableGen into lib/TableGen so Clang can use it.