The Obama administration announced a $1.25 billion settlement yesterday, resolving a decades-long fight by thousands of black farmers who say the Agriculture Department discriminated against them in loan programs, causing many to lose their farms.