The company that operates online learning system Canvas said it struck a deal with hackers to delete the data they pilfered in a cyberattack.