As Muslim institutions of higher learning, the madrasa had the legal designation of waqf. When did more madaris begin to form more rapidly?