Schoolboy dies after "tragic accident" in Cork school