The officers, who had begun administering aid to the first gunman, found themselves again under fire