For three hours on Monday, the NYPD’s top lawyer and police brass dueled members of the City Council over bills to eliminate a gang database and bar DNA tests of teens without parental consent.