PM attends service marking 100 years since Ireland partition