I dont believe the Tenure of Office Act was repealed.
It was declared unconstitutional by the USSC.
https://www.history.com/topics/reconstruction/tenure-of-office-act