Estimating the correlation dimension of an attractor from noisy and small datasets based on re-embedding