U.S. District Judge Christopher Cooper could not grant a motion from unions representing federal workers to stop layoffs.