Judges say procedural infractions would not vitiate the entire transaction between Somanathaswamy Temple and Mylapore Kapaleeswarar Temple