Quantum behavior of deterministic systems with information loss: Path integral approach