Irish government to fund £197m for cross-border rail