Second major quake prompts tsunami warning off Indonesia