Dynein prevents erroneous kinetochore-microtubule attachments in mitosis