Federal judge says Trump violated the law to build his border wall