Eight of the largest U.S. banks, including J.P. Morgan, Bank of America and Goldman Sachs, are forming a group that seeks to tackle the growing cyber threat through more efficient information sharing.