Cristiano Ronaldo was sent off during Portugal's defeat to Ireland which cost his team a place in the 2026 World Cup.