Mavericks top the Clippers by a last-second basket in confusing ending