On the Cauchy problem for implicit differential equations with discontinuous right-hand side