Aubry sets and the differentiability of minimal average action in codimension one