Manu S Pillai’s deft exploration of four centuries of the faith reveals its underlying complexities