ReDigi, a marketplace for “used” digital music that is being sued for copyright infringement by Capitol Records, fended off a motion in federal court on Monday that would have shut it down.