JPMorgan beat earnings expectations amid record market revenue, but a downbeat outlook for net interest income hurt the stock.