The United States district courts shall have jurisdiction, upon petition of the Secretary, to restrain any conditions or practices in any place of employment which are such that a danger exists which could reasonably be expected to cause death or serious physical harm immediately or before the imminence of such danger can be eliminated through the enforcement procedures otherwise provided by this chapter. Any order issued under this section may require such steps to be taken as may be necessary to avoid, correct, or remove such imminent danger and prohibit the employment or presence of any individual in locations or under conditions where such imminent danger exists, except individuals whose presence is necessary to avoid, correct, or remove such imminent danger or to maintain the capacity of a continuous process operation to resume normal operations without a complete cessation of operations, or where a cessation of operations is necessary, to permit such to be accomplished in a safe and orderly manner.