Can an employer change insurance companies knowing that an employee has a terminal illness?

Question Details: My brother-in-law was diagnosed with terminal cancer in July of last year. His employer changed insurance companies in January and he passed away in March. Now, the new insurance company won't honor his terminal illness claim saying that it was pre-existing. Is this legal?
