An armed teenager’s chasing of two boys during an alleged murderous attack was “perfunctory and ineffectual”, his barrister has told a jury.