Industry groups have lobbied Congress to pass this legislation for years. But the impact on retailers’ efforts to prevent inventory loss remains unclear.