Four workers have been injured after an explosion caused the roof of a mine in Sydney's south to partially collapse.