A Texas-based mortgage lender has agreed to replace its namesake chief executive and pay $4.5m to settle North Carolina allegations the company pushed home buyers into mortgages they couldn't afford.