The average rate on a 30-year mortgage moved back above 7% this week, a setback for home shoppers at a time when the U.S. housing market is already slowing under the strain of elevated home loan borrowing costs and rising prices.