Rosemary does not like being cut back into hard old wood. I prune mine every year to,avoid drastic cutting. Cuttings root easily though. How about considering a replacement shrub but a different variety? Sometimes when a plant is past it's best an opportunity arises for something new???