An improvement of the Lovász local lemma via cluster expansion