Ransomware attack prompts multistate hospital chain to divert some emergency room patients elsewhere