According to a grand jury report the contractor took advantage of strained relations and political pressures to “force” the city to pay hundreds of millions of dollars to settle disputes.