Court finds that harms employees faced weren’t enough to warrant halting the White House’s efforts to overhaul the agency.