Bipartisan group of senators cuts deal to change election laws in response to Jan. 6