The Ship of Theseus Paradox Unraveled