The final state of gravitational collapse in Eddington-inspiredBorn-Infeld theory