Government lawyers said they changed the terms of a bailout deal to protect taxpayers, but newly unsealed documents call that into question.