Nine illegal miners jailed