Hours before the opening game of the tournament, the police used tear gas and rubber bullets to disperse a crowd protesting against the country’s spending.