The risk to line workers is overstated, they ground the lines before working on them. The reason solar doesn't work without the grid is because most solar installs don't [0] have batteries. And you can't practically power your house directly off panels if you don't have a battery to act as a buffer.

[0] It is becoming way more common now, though.