Earthquake hits off Indonesia