"An eye for an eye" is a blatant example of the gap between the written and oral Torah. The gap might be viewed as an expression of two complementary divine attributes - rahamim and din. The differences express the desire for justice for one who was injured, as well as the desire to educate the injurer.