The shift to higher-margin home purchase policies helped to boost results at First American, Old Republic and Stewart.