S.Korean president revamps cabinet after ferry tragedy