Top White House economic adviser Gary Cohn, a former Goldman Sachs executive, told lawmakers he could support legislation breaking up the largest U.S. banks.