An earthquake off Bali and Java islands killed three people in Indonesia, a fortnight after a quake-tsunami killed more than 2,000 elsewhere in the archipelago.