Inverse-Compton drag on a highly magnetized GRB jet in stellar envelope