Rosenthal compacta and NIP formulas