Entropy optimization of scale-free networks’ robustness to random failures