Policy uncertainty threatens 18 000 mining jobs