Please note: the confererence version, where I was the sole author,
contained a bug in Algorithm 1, which was used in the proof Theorem 4 -- I thank Shai Ben-David for pointing out this bug.
The journal paper, coauthored with Shalev Ben-David, supersedes the earlier version and fixes this error (and also improves the constant in the bound) in Section 4.