We actually didnt do that. We created a free state within the commonwealth but outside the Union, pretty much what it had been before 1801. We did NOT grant independence or an Irish Republic. The Irish just ignored that and took it as independence, then later declared it themselves.
Lets not quibble over what to call it. We all want Northern Ireland gone so lets just get on with it.