Machine-learning algorithm predicts how cells repair broken DNA