AI in Workforce Decisions: Navigating Legal Risks