An Environment Agency boss has urged residents to "stay away" from a stretch of a Walsall canal as it has been revealed that 4,000 litres of chemicals were spilled into it.