(b) The driver of a vehicle may overtake and pass another vehicle upon the right only under conditions permitting such movement in safety. Such movement shall not be made by driving off the pavement or main-traveled portion of the roadway, except as permitted by section eleven hundred thirty-one of this article.