Tyler Herro scored 23 points, Jimmy Butler got a triple-double in the game's final moment and the Miami Heat held off the Toronto Raptors 104-99.