The undersea quake struck northeast of Tonga’s main island, prompting warnings of hazardous tsunami waves within 300 km of the…