With employee counts shrinking and Wells Fargo exiting the correspondent channel, lenders reported an increase in margins in the second quarter.