SC stays ban on madarasas