Mavs see massive lead dwindle, but beat OKC 93-87