William Tyrrell case referred to NSW coroner