That's a pretty repair, mechanically speaking.
What'd they charge, if you don't mind me asking?
If you're talking about the dimmer switch pigtail, it should more than enough length. That said, it's not necessary to just cut all three leads. I've successfully pulled them through replacement sheathing; it was a MoFo. I didn't try forcing them all through in a single pass. The ends were staggered. I was able to get 2 of them through without much of a fight. It's that 3rd that throws a wrench into the monkeyworks. You'll need something to fish them through. If you can remove one of the vinyl collars, you'll gain some much-needed clearance. I'd choose the ground lead, no worries about shorting out, ever, under any circumstance.
OTOH, if you'd rather remove the bullet connectors, they're just crimped. Thus, you can uncrimp them, instead of cutting them off, and lose no lead length. FWIW, I always solder connections.