Let the equation $x^4-2ax^2+x+a^2-a=0$ has all real solutions for real $a$. Given that $a\geq k$, find $k$.