A federal judge has blocked the Trump administration from freezing $16 billion in funds for America's largest infrastructure project.