c_viterbi(): hard tag constraints