3 Irish parties agree to form coalition government