Embattled Oregon governor announces resignation