Foreclosure settlement could help 17K Minn. homeowners