It wasn’t the stress-free finish Erik Spoelstra would have preferred to ring in the new year, but in the NBA, a win is a win. On a Thursday night in Detroit that saw momentum swing violently from one baseline to the other, the Miami Heat managed to stave off a furious fourth-quarter comeback by the Pistons, holding on for a 118-112 victory.