S Korea unification minister offers to resign over tensions with North