Ex-Georgian president avoids pre-trial detention