RE-Adapt: Reverse Engineered Adaptation of Large Language Models