Pakistan curbing foreign funding for religious schools