Sales of previously occupied U.S. homes rose in July as homebuyers were encouraged by a modest pullback in mortgage rates, slowing home price growth and the most properties…