Critical Points and Resonance of Hyperplane Arrangements