Mr. Obama says al-Qaida terrorists are planning more attacks on the United States from safe havens in Pakistan and urged Islamabad to be a stronger partner in the fight against militants .