Sheriff hails "hero" who shot escapee