UnitedHealth said it paid the criminals behind attack that crippled hospitals and pharmacies to protect sensitive patient data.