Electromagnetically actuated fuel injector having ball and seat type valve