Dallas police defend use of robot to kill gunman