Magnetic order and the electronic ground state in the pyrochlore iridate Nd2Ir2O7