One of the leading nonbank mortgage servicing companies agreed Thursday to pay millions of dollars in relief for Floridians harmed by its mortgage servicing practices.