UnitedHealth Group on Monday said it paid ransom to cyberthreat actors to try and protect patient data.