Minnesota dealt 112-107 loss in hard-fought battle versus Brooklyn