Tesla beats lawsuit claiming it monopolizes repairs, parts