Average long-term mortgage rates edge higher, snapping 9-week slide