Maybe you could check for the angle change of the head, if it's an 180 level turn, have the head turn by itself a bit before following the mouse again.
Thank you for a suggestion! Yeah, I come up with something almost identical. I made that head always turns to cursor not immediately, but gradually. At the first glance it's almost a perfect solution, but further playtesting is required