A U.S. federal appeals court is set to decide whether judges can tear up corporate prosecution agreements they deem too lenient, in a case that Justice Department officials fear will disrupt the agency’s deals with companies under criminal investigation.