Three charged with life over girl attack gain bail