Thermodynamic and structural consequences of flexible loop deletion by circular permutation