James Boasberg, the chief judge of the U.S. District Court in Washington, has been criticized by the president for ruling against his deportation efforts.