The maritime democracies agreed to the intelligence sharing deal, which China has criticized, at the Quad meeting this week.