Flag additivity in quantum resource theories