How to Solve it?
What you are saying about the two aspects of the sickle cell/malaria trait is true of most parts of life, with all flaws in nature having an up and a downside. For example, it was through the exploration of diseases that so much was known about the body and science. This applies to all aspects of culture too. The grave horror and sufferings of the first and second war were a starting point for the revolutionary movements of the 1960s, including so much social change.
It goes back to the yin and the yang, formerly known as the problem of good and evil. It is encouraging really because it shows that suffering caused by 'mistakes' may be potential for positive innovation and creativity.
I am writing this from a rather difficult situation, probably due to many mistakes of myself and others. I am in the process of moving from the accommodation where I am now as it is being repossessed. At the moment, I have half my things in the old place and half in the new, hoping to get out of here properly by Friday. Yesterday, at the old place where I am there was a big crash and the kitchen ceiling collapsed. Fortunately, no one was hurt but it is really unsafe as there is a great big gaping hole, foam coming through and wires exposed and it is not possible to use the bathroom without going through the kitchen. So, I am agonising over sorting, almost tempted to leave a ghastly mess behind here and get out of here asap.
What I am trying to illustrate by my own anecdotal story is that the outcomes of mistakes are critical juncture for innovation and change. In human beings there is the question of what we learn from mistakes, which is the psychological factor in the any evolutionary perspective on 'mistakes' or flaws in nature.