McCollum’s 40-point night gets Pelicans back on track