The same thing happened to me but on Givi Bars. They didn't brake on the spot yours broke. The only solution and a good one was found at the dealer. He said, we are going to weld them. So, what he did was really good solution. He didn't take them off and the welded. He spot-welded them while still on the bike. As an explanation, he said they broke because they were on tension. Now the tension was released and the only good solution is to weld them with no tension. That was the reason he spot-welded them while still on the bike. Then he removed the bars and finshed welding. It was 2 years ago and they are still going strong. I even removed them from the '14 DL1000 when I sold it and installed them on my new '17 DL1000.
As for the paint, took me few tries but now I have perfect solution. I don't know if your bars are satin black like Givi ones. On my Givi ones, the last and the best solution was to paint the welded spot with paint brush and matte black. Then left it for 2 months to make sure the paint was completely dry with lot of sun and wind. Then WD40 sprayed on the piece of cotton cloth and wiped all over the bars. After few times (a week between each coat) the matte paint was soaked with WD40 and now you can't tell the difference from original paint. On previous attempts, satin black didn't work as it was too obvious. Had to remove the paint. Matte black was sort of OK, less different from original paint then satin black, but still visible. WD40 on matte black destroyed the paint as it actuaued as a paint thinner. It only worked as I said - matte black and WD40 only after a month or two.
2017 DL1000 White
2014 DL1000 Red (sold)
2012 DL650 White (sold)