JPMorgan Chase CEO Jamie Dimon says his bank reacted badly to warning flags last month that it had losing trades in derivatives.