The parameters of the custom not to perform melacha on 9 Av and the special law for Torah scholars