Dynamics of negative hydraulic barriers to prevent seawater intrusion