NBC: Selma Blair granted restraining order against ex-boyfriend after alleged attack