A powerful earthquake and two strong aftershocks rocked Indonesia’s resort island of Bali and other parts of the country early Tuesday, causing panic but no immediate reports of damage or casualties.