Maximally even sets and the devil’s-staircase phase diagram for the one-dimensional Ising antiferromagnet with arbitrary-range interaction