Mayor defends hiring convicted wife-beater judge