Municipality says it is following Health Ministry instructions, will only permit the 40,000 local participants to run; athletes from abroad will be reimbursed