Accounting issues related to a prior acquistion led to a $97.4 million net loss for the second quarter at Impac Holdings, the nonbank reported this week. Despite significant challenges in the market, the company managed to boost its production of home loans that don’t meet the qualified-mortgage standard.