in which date did ireland become an independent country?