Chief Justice DY Chandrachud said he prayed to god for a solution to the centuries-old Ram Janmabhoomi-Babri Masjid dispute