A judge in Brazil’s state of Minas Gerais has frozen the Brazilian assets of mining giants BHP Billiton and Vale.