When one says that "kinetic energy is conserved in an elastic collision" that means that the total kinetic energy of the system of particles involved in the collision doesn't change. It does not mean that the kinetic energy of each particle is unchanged. For a two particle system, the kinetic energy of each will change, but the sum won't.
Also, your statement about the change in direction of a particle doesn't matter.
$$K = \frac{1}{2}m (\vec{v}\cdot \vec{v})$$ for a single particle
The reason your expectations of kinetic energy loss are violated is because you picked a non-inertial reference frame.
In fact, you didn't notice, but based on your assumptions, momentum isn't even conserved.
Let's look more closely at your first equation:
$$m_e * 0 + m_i v_i = m_e * 0 + m_f v_f$$
Let's say the ball's mass is 5 kg. If the ball is falling down towards the ground, the initial velocity before the collision should be negative (assuming we have adopted a coordinate system where "up" is positive). Let's say the ball was moving at 10 m/s. Here is our equation so far:
$$m_e * 0 + (5 kg) (-10 m/s) = m_e * 0 + (5 kg) v_f$$
Let's simplify, given your assumption that the Earth doesn't move:
$$(5 kg) (-10 m/s) = (5 kg) v_f$$
Which gives us
$$ v_f = -10 m/s $$
Whaaa? The final velocity is negative? That means . . . after this "collision", the ball is still falling downward at the same speed! If we assume, as you did, that the velocity was positive, then the momentum of the system can't be conserved! Clearly, something is wrong here.
Here's the trouble: You began in the reference frame of the Earth. Once the ball hit the Earth, the Earth's reference frame is no longer inertial! You either have to introduce a fictitious force on the ball to account for the fact that the Earth accelerated (a tiny bit, yes, but an important tiny bit), or you need to find an inertial reference frame.
So, Let's pick the frame of reference in which the Earth starts out at rest. When the Earth moves, we'll let our frame of reference stay where it is, so as to allow it to remain inertial:
$$m_e * 0 + (5 kg) (-10 m/s) = m_e * v_{e, f} + (5 kg) v_f$$
$$-50 kg m/s = m_e * v_{e, f} + (5 kg) v_f$$
NOW we can introduce a coefficient of elasticity and demand that energy be either conserved or not, and find the final velocity of the Earth and the ball as they rebound from each other.
Note that although $v_{e, f}$ will be incredibly tiny, due to the enormous mass of the Earth $m_e$, the final momentum of the Earth will be non-negligible - in fact, the final momentum of the Earth must be comparable to the final momentum of the ball in order for momentum to be conserved!
So, to sum up: You picked a non-inertial reference frame, and didn't account for it, so your reliance on the laws of physics was betrayed.
Best Answer
The law of conservation of energy is about the total energy in the isolated system, not just the kinetic energy.
It is the total kinetic +potential+ radiative energy that is conserved.
For example, one of the balls hitting the other may get stuck on a high shelf. One has to include the gravitational potential energy it acquired when it reached the shelf, in addition to the adhesion energies of molecules that kept it there, or transfer to vibrations of the shelf and all the other energy forms in the discussions above ,plus any loss of energy in radiation due to triboelectric effects.
If one goes in systems where special relativity has to be used, part of the energy can turn into mass.