Neural Rankers for Code Generation via Inter-Cluster Modeling