Singapore has apologised to 357 COVID-19 patients who received an erroneous text message saying they had again tested positive for the novel coronavirus.