An established Shrewsbury restaurant will relocate to a larger site nearby after agreeing a deal for a grade II-listed property.