however when the chilean troops returned from peru ruiz was being cornered