In testimony before a panel formed by state Attorney General Letitia James to investigate the NYPD’s widely criticized handling of protests, Commissioner Dermot Shea disclosed fewer than 10 cops out of thousands assigned to the demonstrations were disciplined — calling misconduct “isolated.”