After attorneys discovered a settlement clause with one of the singer’s accusers, the ending was replaced with scenes of Jackson at a triumphant concert