Miner given permission due to ‘loopholes’ in safeguard mechanism, Australian Conservation Foundation says