Singapore's 1997 education overhaul replaced rote learning with critical thinking and propelled the nation to the top of global rankings.