The service is offering a number of bonuses to attract high-tech talent and keep more Marines in uniform as it shifts to an “invest and retain” model.