Kerry works to prevent settlement dispute from harming Mideast talks