Mavrik Bourque scored his first NHL hat trick to lead the Dallas Stars to a dramatic 6-5 comeback victory over the Toronto Maple Leafs.