As America modernizes its electric grid, policymakers should focus on the software and control systems that carry the greatest security risks.