both factions clashed in saint mamede field near guimaraes