BHP close to restarting work at Brazilian mine where 19 died