Wales assistant manager Rob Page says the switch to ‘plan B’ paid off in their narrow victory against Republic of Ireland.