Residents of Mauritius were under curfew on Tuesday night in response to rare violent protests after a police officer shot and seriously injured a woman.