The government also agreed to loosen the terms of its first loan to the insurer, which will report a $62 billion quarterly loss on Monday, people involved in the discussions said.