Two men were stabbed in north London's Barnet borough, prompting a counterterrorism-led investigation into a potentially antisemitic incident.