Indiana Pacers edge out Miami Heat after late rally in Thursday night action