ManyDG: Many-domain Generalization for Healthcare Applications