A city ordinance barring harassment of patients outside an abortion clinic does not violate the First Amendment, a federal judge in Newark, New Jersey, ruled.