Illegal miners attack soldiers