Campaigners celebrate victory for ‘water over gold’ after country unaninmously ushers through historic bill to end all forms of metal mining