The court ruled in favor of the Department of Homeland Security, allowing its SAVE system to be used by states to check voter ID.