The state has $50 million to spend to retire farmland, which it intends to give out as block grants to local agencies, tribes and nonprofits in the San Joaquin Valley. But there are strings attached to the money. The groups that receive the block grants will have to work directly with farmers and community members…