A 7.7-magnitude earthquake off Maumere, Indonesia has killed at least 20 people, with the tsunami warning lifted but aftershocks continuing.