Competition Under Social Interactions and the Design of Education Policies