The average rate on a 30-year U.S. mortgage ended a three-week streak of increases, reflecting a pullback in long-term U.S.