How Gandhi ended up with the gods on a Sri Lankan temple’s entrance