State loses 16,700 jobs in June