Unexpectedly strong home sales at the start of this year reversed a sharp, several-month decline in home prices. Mortgage rates are behind the swing