Carrier concentration decreasing with increase in temperature in a semiconductor
you are forgetting that n_i depends on T as well, you can find it's formula by googling it easly, also remember that this equation is approximation for when E_f close enough to E_i (and then you can drop the 1 at the denominator of the fermi functionn)