Rebecca Connor warned a mining lease approval was unlawful in late 2017, and the government finally agrees