Robust fitting of hidden Markov regression models under a longitudinal setting