Criterion for Inseparability of Irreducible Polynomials