Control of coexisting magnetic phases by electric fields in NdFe3(BO3)4