People sell things to the vendor all the time. Haze bombs are generally vendored rather than put on the AH. Players who don't need Vanaduke tokens also vendor the 5 star gear from there.
In order to accidentally sell something to a vendor, it needs to be un-equipped. You then need to go into your inventory, click on the item to equip it, not notice it didn't give you an option to equip it and that it didn't light up, drag your mouse down to the confirm button and click that as well.
As much as it sucks that you accidentally sold your best 5* weapon to the vendor, it's not exactly an easy process if you're paying even the slightest amount of attention. I imagine that the reason they won't restore gear is that the data to confirm the legitimacy of the claim isn't easily accessible.