MALE (Reuters) - President Mohamed Nasheed of the Maldives, widely credited with bringing democracy to the Indian Ocean archipelago, resigned on Tuesday in what his party said was a coup after weeks of opposition protests erupted into a police mutiny.