Exactly solvable model for the QCD tricritical endpoint