Ally Financial, the former finance arm of General Motors taken over by the government in the financial crisis, repaid the government $5.9 billion Wednesday, the US Treasury said. After two years of restructuring that turned Ally, previously known as GMAC Inc., into a bank holding company, the company has repaid the government $12.3 billion, more than 70 percent of the support provided, the Treasury said.