Dispute with Orthodox synagogue that accused city of prejudice by sending inspectors more than once a week on average for two years