After a ransomware attack on the state's health and social services system, Deloitte is giving Rhode Island $5 million to help cover expenses.