Divided We Stand: The Role of Homophily in the Malleability of Social Networks