A bipartisan group of 20 US senators has reached a new agreement on legislation that would ban all members of Congress from trading stocks.