Dumbledore gave Neville them points because he saw a 11 year old boy who could do something he could not at a much older age: Dumbledore never had the courage to stand up to Grindelwald his friend, not until he really did have to anyway. I feel like Dumbledore saw this and the points were really for Neville NOT Gryffindor.