Anticipating Degradation: A Predictive Approach to Fault Tolerance in Robot Swarms