Patrick Agyemang marked his first start for Rangers with a fine strike on the stroke of half-time.
But Damion Stewart's own goal handed United a lifeline in the 64th minute.
And Hendrie pounced five minutes later thanks to Billy Sharp's persistence on the edge of the box, which allowed the ex-Aston villa midfielder to fire home.
This was the Blades last win in the league.