Ex-president still struggled in wealthier and better-educated areas, but gained more support everywhere