Added a clearDependencies method in PartitionPruningRDD.