The quake trapped residents under debris, leaving more injured and forcing people to evacuate their homes as far as the capital of Bogotá.