Fast Damage Recovery in Robotics with the T-Resilience Algorithm