WA public servant jailed over $27m theft