Nowitzki rallies Mavs to win that ties NBA Finals