Linear optical logical Bell state measurements with optimal loss-tolerance threshold