Ever since it opened nearly a decade ago, the newest Mexico City subway line had been plagued with structural weaknesses that led engineers to warn of potential accidents.