Similar Items: A Separator Theorem for Hypergraphs and a CSP-SAT Algorithm