Appeals court says domestic violence suspects can keep guns