Man charged with ANU baseball bat attack referred to mental health facility