Off-duty officer kills man who fired into crowd outside Dallas club