Debut tries for Alana McInerney and Sophie Barrett provided insurance against a second-half Japanese revival in Cork.