Pacific Gas and Electric will be able to avoid two legal obstacles that could have tripped up its efforts to bounce back from bankruptcy if California Gov. Gavin Newsom and a federal judge approve a $13.5 billion settlement with victims of catastrophic fires blamed on the utility's equipment.