I wouldn't use a helicoil in that situation, if the thread is damaged at the start of the thread I would use a tap but I would first remove part 4 from the tube it attaches to so you can clean out any metal swarf trapped inside so it doesn't enter the brake line tube. The rear shock is surprisingly easy to remove and doesn't take long so removing that will probably give you more room.
With the bike on it's center stand, support the rear wheel with a floor jack to take the weight off the mounting bolts. There are only the two bolts and the only hard part of that is the nut for the top mount is a little harder to get to but you can probably get it with a pair of needle nose pliers. Then just one bolt holds the adjuster under the seat. Realistically you could have the shock off in half an hour.
When you try to replace the banjo bolt again be very careful with alignment of the thread. My guess is that the brake line you were trying to attach may have dragged you off line a little with the start of the thread. When you get the thread cleaned up try the banjo bolt without the line first. It should go in easy. Then when you try it with the line make sure it still feels as easy. If it doesn't, remove it and try again, never force these threads.