On retrieving refractive index of dust-like particles using shape distributions of ellipsoids