Mahindra and Mahindra (M&M) has sold its entire stake in private lender RBL Bank for Rs 678 crore