HR manager jailed for exploiting payroll loophole to cheat employer of almost S$400,000