Yancoal has started legal action after questions about worker safety at troubled Hunter mine