Quake survivors freed from immigration jails