High field magnetoresistance of impure semimetals