Basically there has to be a mechanism in place by which those that would choose to beat up on their neighbours are beat up on by the whole group. This can be very complicated. However, it has nothing to do with energy efficiency. Natural selection bounces off walls set by physical limits. Natural selection has nothing to do with optimizing any physical criterion.
Morality is about choosing right action.
The observations do not give us good and bad directions. We can see what is, and from there we need to decide on 'ought'. No Arthur, you have not presented the logic of how it could work. You then make what I see as the mistaken connection that survival of the fittest is about energy efficiency. You seem to be simultaneously arguing for human acceptance of natural instinct as the driver of everything and then for the human capacity to do something different from what derives from instinct.