Mortgage insurer posts solid underwriting results and strong capital levels, even as lower investment income weighs on profits.