Maybe a dose of reality will help you -
You lost confidence? Where did you get this confidence in the first place? By making 3 jumps that went well, with two of them being harness-hold jumps from exit to opening?
Get real. It's not like you have 100's of jumps and could not get stable or depploy your own canopy, you're a STUDENT and what you did was learn a lesson. Your buddy makes it look easy? All that means is that your buddy hasn't been unstable yet, who knows how 'easy' it will be for him when he finally loses stability for the first time.
You jumped, you tried, you lived. Move on with your training. This won't be the last set back you have in skydiving, so nut-up, listen to your instructor and get on with the re-jump. You only partially failed in that you didn't remain stable. Your instructor dumped you out when she had the chance, but for all we know you might have dumped yourself out before pull time if she didn't (that's a hint to remember your altitude awareness, no matter which direction you're facing, pull time is pull time, no exceptions).
No offence to others, but fuck the tunnel. Get back in the plane, and make a real skydive. You know what you need to do, so just do it. Keep in mind your instructors also know what happened, and will train and treat you accordingly.
Most of your jumps have been fine, build on that, and just get on with it.
Best answer on the whole thread. Cheers!