Obama slams Pakistan's terror ties; says be peaceful with India