Geometry of complete minimal surfaces at infinity and the Willmore index of their inversions