Capital One second quarter earnings of $830 million were significantly impacted by a $147 million restructuring charge