Asymptotic theory of instabilities in directly modulated semiconductor lasers