Top Democrat warns Trump officials they could be at legal risk by following the president's orders