Alain Magloire fell through the cracks of the healthcare system, coroner's inquest hears