String corrections to the gravitational equations of motion and inflation