Puerto Rico Gov. Ricardo Rosselló announced late Wednesday that he will resign Aug. 2, conceding power after nearly two weeks of furious protests and political upheaval touched off by a leak of crude and insulting chat messages between him and his top advisers.