British PM uses terrorist attack to boost sagging poll numbers