A Somali refugee was critically injured when she set herself on fire at an Australian immigration camp on the Pacific island nation of Nauru three days after an Iranian refugee died of injuries sustained in a similar apparent protest, officials said.