Feds will appeal mask ruling only if mandate still needed