Judge says Trump's efforts to lay off thousands of federal workers during the government shutdown are unlawful.