Social biases modulate the loss of redundant forms in the cultural evolution of language