Calabasas-based mortgage lender Countrywide has reached a settlement with 11 states designed to provide up to $8.68 billion in relief to borrowers, including $3.5 billion to Californians, Attorney General Jerry Brown announced Monday.