6.9-magnitude quake strikes off western Indonesia