Short-period attractors and non-ergodic behavior in the deterministic fixed-energy sandpile model