Judge halts action on metal-scrapping plant