ECP bound to hold by-polls in case of PTI resignations, says official