Puerto Rico governor to resign after weeks of protests