Home sales barely moved in April, as mortgage rates shot higher the month before and uncertainty over the war with Iran weighed on consumers.