Authorities say the two men mistakenly thought they were attacking people they’d previously fought at a club