Miner stoush could leave Labor in a hole