Emergence of Cooperation in Group Interactions: Avoidance vs. Restriction