Symplectic gluing along hypersurfaces and resolution of isolated orbifold singularities