Nonlinear σ -models in the Eddington-inspired Born-Infeld gravity