Pakistan had all but eliminated polio. Then things went badly wrong.