US oil industry wins reprieve to avert Gulf of Mexico shutdown