The huge swell struck the coastline of Peru, Chile, and Ecuador one day after an environmental emergency was declared in the wake of an oil spill in the region