Ansari to move SC in Ayodhya case