In a huge majority, Chile voted to scrap its 1980 constitution, the last remaining legacy of the Pinochet dictatorship era.