Root separation for polynomials with reducible derivative