Portfolio diversification, differentiation and the robustness of holdings networks