SC orders repayment of Rs 5000 crore