People in Indonesia who flouted the country's mask policy have been forced to dig graves of coronavirus victims as punishment.