Obama commits to stopping settlements