Hundreds stuck in mental health system, says legislative auditor's report