The Senate legislation also provides more than $1 billion to settle four water rights cases brought by American Indian tribes and extends for one year the Temporary Assistance for Needy Families program, which helps states provide cash assistance and other services to the poor.