U.S. banks and state attorneys general, seeking to avoid $17 billion in court claims over faulty foreclosures, are discussing a settlement framework that may let firms choose from a menu of options for helping borrowers, two people briefed on the talks said. Under the proposal, Bank of America Corp. (BAC), Wells Fargo & Co. (WFC), JPMorgan Chase & Co. (JPM), Citigroup Inc. (C) and Ally Financial Inc. would pay penalties and pledge billions of dollars in relief to home buyers, one of the people said, asking not to be named because the talks are private. Firms may fulfill obligations to borrowers over time, choosing among options such as reducing loan principal, cutting fees or paying moving costs, the people said.