Wow, tough bugs if they can live off rosemary!
I would give it the chance to grow, be nice to it in a gentle way, it's had a nasty shock. It might recover, it might only recover in parts and end up looking strange. Not to worry, you still have the genetic material. When it gets big enough prune it back hard and make cuttings. If you make five, three are likely to take in my experience, you can keep the best one and make friends by giving away the other two
and you still have the old plant as a source for more cuttings. The plants can last ten years and up, but most ways I would favour a younger bush and changing more frequently than absolutely necessary, but it's up to you what you do, when the plant has made some recovery. It may recover fully, give it the chance, plants are tough sometimes, if not that will be the time to decide whether to cut your losses, or try to salvage a new plant.
Welcome to the forum, if you post back to this thread it will flag up to me as one I have posted in, I would be curious to know how you get on. If it were England this time of year it would be a bit hopeless, nothing sprouts much here this time of year, your climate will be on your side.