Authorities aim to conclude retrieval of illegal miners after ruling