In characteristic $0$, indeed every irreducible polynomial is separabele, because your intuition that $p'$ is a nontrivial polynomial of lower degree is fine. However, in characteristic $\
e 0$, the derivative may be the zero polynomial and thus no contradiction arises. For example consider $X^6+aX^3+b$ in characteristic $3$: It's derivative is $6X^5+3aX^2$, i.e. $0$.