Coupling between whistler waves and slow-mode solitary waves