The decision opens the way for agencies to resume merit-based testing without court approval, potentially reshaping how the Civil Rights Act governs employment.