U.S. District Judge Theodore Chuang ruled that the Trump administration's move to divert funding and cancel a plan to move the FBI to Maryland was "arbitrary and capricious and not in accordance with law."