Chaves scores win in Indy Lights at Long Beach