WILMINGTON, Del, March 8 (Reuters) - The $500 billion midstream sector is bracing on Tuesday for a ruling from a U.S. bankruptcy judge that could determine if energy producers can use Chapter 11 to shed contracts with pipeline operators for transporting oil and natural gas.