Indonesia has officially banned elephant rides, bringing an end to the decades-long tourist activity that’s become synonymous with the tropical destination.