On-line Learning to Recover from Thruster Failures on Autonomous Underwater Vehicles