Hawaii officials admit to wrongly locking up man in mental h