Gauge-invariant electromagnetic response of a chiral p x + i p y superconductor