Evolution of Prosocial Behavior through Preferential Detachment and Its Implications for Morality.