The biggest utility bankruptcy in U.S. history appears to be drawing to a close after PG&E Corp. reached a deal with California Governor Gavin Newsom over the company’s restructuring plan. The agreement calls for PG&E to put itself up for sale if the bankruptcy court doesn’t approve its plan by June 30 or if the company fails to emerge from Chapter 11 by the end of the year, according to a statement Friday. The deal also requires the embattled utility to overhaul its board and submit to additional state oversight.