A shallow earthquake with a magnitude of 6.4 struck Ecuador's northwest coast on Sunday, in the region of April's deadly quake, the U.S. Geological Survey (USGS) said.