Bank of America’s second-quarter earnings narrowly missed expectations on Monday, as a slump in stock markets led to a slowdown in activity in the lender’s investment banking arm. Profit at the Wall Street lender came in at $6.2 billion for the three months to June 30. That was down more than 32% …