Gravitational closure of weakly birefringent electrodynamics