The decision is the latest development in a battle over the Department of Government Efficiency’s access to sensitive personal information.