BCS instabilities of electron stars to holographic superconductors