Essex have cut short Oliver Newby's loan spell from Lancashire after the fast bowler suffered a hamstring injury.