Brane configurations and the moduli space of vortices