Hint: don't sell stuff you worked hard to get carelessly.
I'm afraid to say you're probably screwed. All you can really do is hope that sometime in the future there will be another heirloom reset and you will be able to reselect your heirlooms.
unless I am wrong and somebody is willing to give you your heirloom points back, but that's wishful thinking. Good luck to you anyways.