Self-Similar Shrinkage of Force-Free Magnetic Flux Ropes in a Passive Medium of Finite