PM said EU leaders would be blamed for their ‘obduracy’ and that UK could keep much of £39bn settlement