Tesco has completed the sale and leaseback of its Perth superstore for just more than £26m.