Consistency of multi-time Dirac equations with general interaction potentials