Evolution of the N=82 shell gap below 132Sn inferred from core excited states in 131In