Trump threatens to close border over funding