Prefer map over unnecessary each_with_index.

The index wasn't needed since was only used to insert into rdfs in order.
Increment offsets even if chunk from Calias is nil

If Calias can't generate entities from a given chunk of text,
the offset still needs to be incremented so the entity can later
be located in the text.