Regulation of kinetochore–microtubule attachments through homeostatic control during mitosis